import Ax from './api';

export default {
  operationLogAdd: (param = {}) => Ax.put(`/operationLog/add`, param),
  operationLogEdit: (param = {}) => Ax.put(`/operationLog/update`, param),
  operationLogDelete: (query = {}) => Ax.delete(`/operationLog/delete?_id=${query._id}`),
  operationLogList: (param = {}) => Ax.post(`/operationLog/list`, param),
  operationLogAll: (query = {}) => Ax.get(`/operationLog/all`),
  operationLogDetail: (query = {}) => Ax.get(`/operationLog/detail?_id=${query._id}`),
};
